package com.txts.road.admin.racerSys.domain;

import com.txts.road.admin.common.annotation.Excel;
import com.txts.road.admin.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 赛车手信息对象 racer_info
 * 
 * @author ruoyi
 * @date 2025-04-19
 */
public class RacerInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 序号 */
    private Long id;

    /** 照片URL */
    @Excel(name = "照片URL")
    private String photo;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别 */
    @Excel(name = "性别")
    private String gender;

    /** 籍贯 */
    @Excel(name = "籍贯")
    private String hometown;

    /** 年龄 */
    @Excel(name = "年龄")
    private Long age;

    /** 历史战绩 */
    @Excel(name = "历史战绩")
    private String historyHonor;

    /** 所属车队 */
    @Excel(name = "所属车队")
    private String teamName;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public void setPhoto(String photo) 
    {
        this.photo = photo;
    }

    public String getPhoto() 
    {
        return photo;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }

    public void setHometown(String hometown) 
    {
        this.hometown = hometown;
    }

    public String getHometown() 
    {
        return hometown;
    }

    public void setAge(Long age) 
    {
        this.age = age;
    }

    public Long getAge() 
    {
        return age;
    }

    public void setHistoryHonor(String historyHonor) 
    {
        this.historyHonor = historyHonor;
    }

    public String getHistoryHonor() 
    {
        return historyHonor;
    }

    public void setTeamName(String teamName) 
    {
        this.teamName = teamName;
    }

    public String getTeamName() 
    {
        return teamName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("photo", getPhoto())
            .append("name", getName())
            .append("gender", getGender())
            .append("hometown", getHometown())
            .append("age", getAge())
            .append("historyHonor", getHistoryHonor())
            .append("teamName", getTeamName())
            .toString();
    }
}
